<!DOCTYPE html>
<html>
<head>
    <title>文件上传</title>
    <!-- <link rel="stylesheet" type="text/css" href="/static/css/default.css">
    <link rel="stylesheet" type="text/css" href="/static/css/iconfont.css">
    <link rel="stylesheet" type="text/css" href="/static/css/layout.css">
    <link rel="stylesheet" type="text/css" href="/static/css/skin.css"> -->

    <link rel="stylesheet" type="text/css" href="/static/css/index.css">
    <link rel="stylesheet" type="text/css" href="/static/css/controls.css">
    <script type="text/javascript">
        window.ctx=""
    </script>
</head>

<body ng-controller="UploadController">
	<!-- <g-upload 
	url="http://localhost/sebusiness/upload"
	type="file"
	></g-upload> -->
	<div style="width:800px;margin:100px auto;">
	
	业务名称：<input type="text" ng-model="business.businessName">
	
	<br>
	<br>
	上传图片：
	<g-upload-group 
	key="1" 
	upload-info-url="/sebusiness/upload"
	upload-url="/sebusiness/upload"
	delete-url="/sebusiness/upload/delete"
	delete-params="deleteParams"
	initial-show-count="1"
	image-show-url-prop="smallThumbPath"
	ng-model="business.dfsFiles"
	upload-extra-data="uploadData"
	>
	</g-upload-group>
	<br>
	<br>
	<button ng-click="save()">提交</button>
	
	</div>
	 <script data-main="/static/app.js" type="text/javascript" src="/bower_components/requirejs/require.js" data-bootstrap-modules="'demo/upload/TestUploadModule'"></script>
</body>
</html>